package com.yehuishou.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import com.yehuishou.dao.IphoneDao;
import com.yehuishou.pojo.Iphones;
import com.yehuishou.pojo.Sversion;
import com.yehuishou.pojo.Version;
import com.yehuishou.service.IphoneService;
@Service
public class IphoneServiceImpl implements IphoneService {

	@Autowired
	private IphoneDao iphoneDao;
	
	@Override
	public List<Version> select() {
		
		return iphoneDao.select();
	}

	@Override
	public List<Version> selectBrand() {
		
		return iphoneDao.selectBrand();
	}

	@Override
	public List<Version> selectAll() {
		
		return iphoneDao.selectAll();
	}

	@Override
	public List<Version> selectByCid() {
		
		return iphoneDao.selectByCid();
	}

	@Override
	public List<Sversion> selectByCids(Integer cid) {
		
		return iphoneDao.selectByCids(cid);
	}

	@Override
	public List<Iphones> select1() {
		return iphoneDao.select1();
	}

	

	

	
}
